
<%@ page import="edu.uow.devdocs.CommentHistory" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'commentHistory.label', default: 'CommentHistory')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-commentHistory" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-commentHistory" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:flashMessage/>
			<ol class="property-list commentHistory">
			
				<g:if test="${commentHistoryInstance?.comment}">
				<li class="fieldcontain">
					<span id="comment-label" class="property-label"><g:message code="commentHistory.comment.label" default="Comment" /></span>
					
						<span class="property-value" aria-labelledby="comment-label"><g:fieldValue bean="${commentHistoryInstance}" field="comment"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${commentHistoryInstance?.project}">
				<li class="fieldcontain">
					<span id="project-label" class="property-label"><g:message code="commentHistory.project.label" default="Project" /></span>
					
						<span class="property-value" aria-labelledby="project-label"><g:link controller="project" action="show" id="${commentHistoryInstance?.project?.id}">${commentHistoryInstance?.project?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${commentHistoryInstance?.person}">
				<li class="fieldcontain">
					<span id="person-label" class="property-label"><g:message code="commentHistory.person.label" default="Person" /></span>
					
						<span class="property-value" aria-labelledby="person-label"><g:link controller="person" action="__show" id="${commentHistoryInstance?.person?.id}">${commentHistoryInstance?.person?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${commentHistoryInstance?.dateOfComment}">
				<li class="fieldcontain">
					<span id="dateOfComment-label" class="property-label"><g:message code="commentHistory.dateOfComment.label" default="Date Of Comment" /></span>
					
						<span class="property-value" aria-labelledby="dateOfComment-label"><g:formatDate format="dd/MM/yyyy" date="${commentHistoryInstance?.dateOfComment}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${commentHistoryInstance?.issue}">
				<li class="fieldcontain">
					<span id="issue-label" class="property-label"><g:message code="commentHistory.issue.label" default="Issue" /></span>
					
						<span class="property-value" aria-labelledby="issue-label"><g:link controller="issue" action="show" id="${commentHistoryInstance?.issue?.id}">${commentHistoryInstance?.issue?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${commentHistoryInstance?.developmentChecklist}">
				<li class="fieldcontain">
					<span id="developmentChecklist-label" class="property-label"><g:message code="commentHistory.developmentChecklist.label" default="Development Checklist" /></span>
					
						<span class="property-value" aria-labelledby="developmentChecklist-label"><g:link controller="developmentChecklist" action="show" id="${commentHistoryInstance?.developmentChecklist?.id}">${commentHistoryInstance?.developmentChecklist?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${commentHistoryInstance?.developmentTask}">
				<li class="fieldcontain">
					<span id="developmentTask-label" class="property-label"><g:message code="commentHistory.developmentTask.label" default="Development Task" /></span>
					
						<span class="property-value" aria-labelledby="developmentTask-label"><g:link controller="developmentTask" action="show" id="${commentHistoryInstance?.developmentTask?.id}">${commentHistoryInstance?.developmentTask?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${commentHistoryInstance?.id}" />
					<g:link class="edit" action="edit" id="${commentHistoryInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
